Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin pydantic #457

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Pin pydantic #457

merged 2 commits into from
Oct 20, 2023

Conversation

JHolba
Copy link

@JHolba JHolba commented Oct 11, 2023

newest pydantic is pulled in by rstcheck. ert requires pydantic<2

@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2023

Codecov Report

Merging #457 (450c57f) into master (d431cc6) will increase coverage by 0.08%.
Report is 7 commits behind head on master.
The diff coverage is 100.00%.

❗ Current head 450c57f differs from pull request most recent head 042e08e. Consider uploading reports for the commit 042e08e to get more accurate results

@@            Coverage Diff             @@
##           master     #457      +/-   ##
==========================================
+ Coverage   95.08%   95.17%   +0.08%     
==========================================
  Files          31       31              
  Lines        4374     4413      +39     
==========================================
+ Hits         4159     4200      +41     
+ Misses        215      213       -2     
Files Coverage Δ
ecl2df/__init__.py 94.73% <100.00%> (+5.26%) ⬆️
ecl2df/common.py 99.71% <100.00%> (+0.05%) ⬆️
ecl2df/equil.py 100.00% <100.00%> (ø)
ecl2df/grid.py 97.87% <100.00%> (ø)
ecl2df/pillars.py 100.00% <ø> (ø)
ecl2df/summary.py 96.82% <ø> (ø)
ecl2df/trans.py 97.10% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

setup.py Outdated
@@ -23,6 +23,7 @@
"pyarrow",
"pyyaml>=5.1",
"treelib",
"pydantic<2",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is an indirect dependency, could you add a comment on when it can be removed again?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated with comment

Updating to Sphinx 7 will require code changes.
Sphinx>7.2 also drops support for python3.8.
Ert pins pydantic<2, but we pull pydantic>=2 through rstcheck.
Ert also pins fastapi<0.100, which also depends on pydantic<2.
@JHolba JHolba merged commit d9fc6b7 into equinor:master Oct 20, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants